package com.ruoyi.purchase.domain;

import com.alibaba.fastjson2.JSON;

public class ChangeRecord {
    private String field;
    private String detail;

    public ChangeRecord() {

    }
    public ChangeRecord(String field, String detail) {
        this.field = field;
        this.detail = detail;
    }
    public ChangeRecord(String field,Object oldValue,Object newValue) {
        this.field = field;
        this.detail = " " + oldValue + " 修改为 " + newValue + " ";
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }
}
